//考勤记录
export const getWorkStatusLog = `
query($staff_id:Int,$page:Int,$month:String){
 getWorkStatusLog(staff_id:$staff_id,page:$page,month:$month){
     list{
          id
          addtime
          updatetime
          status_text
          admin_name
          des
          type_text
      }
      total
      lastpage
  }
}
`;
// 工资列表-月
export const getWagesList = `
query($year:String,$staff_id:Int,$page:Int,){
 getWagesList(year:$year,staff_id:$staff_id,page:$page,){
     list{
          id
          title
          money
          month
      }
      total
      lastpage
  }
}
`;
// 工资明细-按月
export const getWagesInfo = `
query($month:String,$staff_id:Int){
 getWagesInfo(month:$month,staff_id:$staff_id){
      title
      money
      type
  }
}
`;
// 工资数据
export const getWagesData = `
query($month:String,$staff_id:Int){
 getWagesData(month:$month,staff_id:$staff_id){
      wages
      jiang
      count
  }
}
`;
// 合伙人数据
export const getPatnerMoney = `
query($staff_id:Int){
 getPatnerMoney(staff_id:$staff_id){
      count
      month
  }
}
`;
// 合伙人车辆
export const getPatnerCart = `
query($staff_id:Int,$page:Int){
 getPatnerCart(staff_id:$staff_id,page:$page){
      list{
          id
          cart_code
          createtime
          money
          image
      }
      total
      lastpage
  }
}
`;
// 合伙人订单
export const getPatnerCartOrder = `
query($staff_id:Int,$page:Int,$start:String,$end:String,$cart_id:Int){
 getPatnerCartOrder(staff_id:$staff_id,page:$page,start:$start,end:$end,cart_id:$cart_id){
      list{
          id
          order_sn
          cart_code
          money
          amount
          price
          shouyi
          createtime
          json{
            name
            value
        }
      }
      total
      lastpage
      shouyi
  }
}
`;
//奖金明细
export const getWagesLog = `
query($staff_id:Int,$page:Int,$month:String,$type:String){
 getWagesLog(staff_id:$staff_id,page:$page,month:$month,type:$type){
      list{
          id
          memo
          type
          money
          createtime
          createtime
          json{
              name
              value
          }
      }
      total
      lastpage
      count
  }
}
`;
//当前系数
export const getXishu = `
query($staff_id:Int){
 getXishu(staff_id:$staff_id){
      name
      value
  }
}
`;
//当前系数
export const getBaoxiaoList = `
query($staff_id:Int,$page:Int){
    getBaoxiaoList(staff_id:$staff_id,page:$page){
        list{
            id
            staff_id
            content
            money
            admin_name
            createtime
            updatetime
            des
            status
            status_text
            image
        }
        total
        lastpage
  }
}
`;